package com.hujiang.demo.core;

/**
 * Created by wyiyong on 14/12/17.
 */
public class Calculator {

    public int getOneToHundred() {
        int total = 0;
        for (int i = 1; i <= 100; i++) {
            total = Engine.add(total, i);
        }

        return total;
    }
}
